/**
 * This type of standard plug-in architecture allows to encapsulate all of methods in the plugin's parent closure,
 * and call them by first passing the string name of the method, and then passing any additional parameters for that method.
 * 
 * @param method - String name of method to be executed - if method is not specified, init function will be executed
 * @param arguments... - all other arguments will be passed to executed method
 */
$.fn.imgcombo = function(method) {
	if (methods[method]) {
		return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
	} else if (typeof method === 'object' || !method) {
		return methods.init.apply(this, arguments);
	} else {
		$.error('Method ' +  method + ' does not exist on jQuery.' + namespace);
	}
};

